package org.jeecg.modules.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.system.entity.SysUserPermissionFilter;

import java.util.List;

/**
 * @Description: 用户权限过滤表
 * @Author: jeecg-boot
 * @Date: 2023-12-15
 * @Version: V1.0
 */
public interface ISysUserPermissionFilterService extends IService<SysUserPermissionFilter> {

    void setUserFilterPerms(String userId, List<String> permissionIds);

    List<String> getUserFilterPermsById(String userId);

    List<String> getUserFilterPermsByName(String username);

    List<String> getUserFilterPermissionIdsByName(String username);

}
